﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MenuOfLinksHomework
{
    public partial class TestingForm : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            List<MenuLink> links = new List<MenuLink>();
            links.Add(new MenuLink() { Title = "Google", URL = "http://google.com" });
            links.Add(new MenuLink() { Title = "Yahoo", URL = "http://yahoo.com" });
            this.menu.Data = links;
        }
    }
}